Skip to main content

DescribeIpv6EgressOnlyRules

Description

call the DescribeIpv6EgressOnlyRules interface query to create an active-only rule.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeIpv6EgressOnlyRules

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
Ipv6EgressOnlyRuleIdBODYstringNoipv6gwpy-123456cdvf****only active out rule ID to view.
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, and the default value is 10.
InstanceIdBODYstringNoi-123456cdvf****sets the instance ID associated with only the IPv6 address of the active exit rule.
PageNumberBODYintegerNo1The page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
Ipv6GatewayIdBODYstringYesipv6gw-123456cdvf****IPv6 gateway ID.
RegionIdBODYstringYescn-huhehaotethe region ID of the IPv6 gateway. You can obtain the region ID by calling the DescribeRegions interface.
InstanceTypeBODYstringNoIpv6AddressYou need to set the instance type of only the active rule, value: Ipv6Address:IPv6 address.
versionBODYstringNo2016-01-01version of api
NameBODYstringNorulenamerule name.

Return data

NameTypeSample valueDescription
StatusstringAvailableonly actively out the state of the rule.
Ipv6EgressOnlyRuleIdstringipv6gwpy-123456cdvf****only the ID of the active rule.
TotalCountinteger1Number of entries in the list.
Descriptionstringruledescriptiononly actively describe the rule.
PageSizeinteger10The number of rows per page during paging query, the maximum value is 50, and the default value is 10.
RequestIdstringE16671B7-DEA6-48E0-8E9C-41913DAD44DDrequest ID.
InstanceIdstringi-123456cdvf****Instance ID configured with only active rule.
PageNumberinteger1The page number of the list, the default value is 1.
Ipv6EgressOnlyRulesNo sample value for this parameter.only the details of the active rule.
InstanceTypestringIpv6Addressthe instance type with only active rule is configured.
Namestringrulenameonly the name of the active rule.

Example

Successful Response example

{
"Status":"Available",
"Ipv6EgressOnlyRuleId":"ipv6gwpy-123456cdvf****",
"TotalCount":"1",
"Description":"ruledescription",
"PageSize":"10",
"RequestId":"E16671B7-DEA6-48E0-8E9C-41913DAD44DD",
"InstanceId":"i-123456cdvf****",
"PageNumber":"1",
"Ipv6EgressOnlyRules":"",
"InstanceType":"Ipv6Address",
"Name":"rulename"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}